package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "web_order")
public class Order {

    @TableId(value = "id")
    private Long id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "product_id")
    private Integer productId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "money")
    private Long money;

    @TableField(value = "order_status")
    private Integer orderStatus;

    @TableField(value = "order_date")
    private Date orderDate;
}
